projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6331495
)
(window-system): Enable menu bars only if
author
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Jun 1993 17:16:39 +0000
(17:16 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Jun 1993 17:16:39 +0000
(17:16 +0000)
window-system is non-nil.
lisp/menu-bar.el
patch
|
blob
|
history
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index e67fb70eedef67c32bd845a6f697cc2fa6f3b6a1..0b0e694020bb65bcfc74598d084b9e454d5c644f 100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-227,7
+227,8
@@
turn off menu bars; otherwise, turn on menu bars."
(setq frames (cdr frames)))))
;; Make frames created from now on have a menu bar.
-(menu-bar-mode t)
+(if window-system
+ (menu-bar-mode t))
(provide 'menu-bar)